LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE    := target
LOCAL_SRC_FILES := \
	ether_frame.cpp  ip_packet.cpp  main.cpp  public.cpp  tcp_conversitons.cpp  tcp_segment.cpp
LOCAL_CFLAGS += -fPIE
LOCAL_LDFLAGS += -fPIE -pie

LOCAL_C_INCLUDES += $(LOCAL_PATH)/libpcap
LOCAL_STATIC_LIBRARIES += libpcap

#include $(BUILD_STATIC_LIBRARY)
include $(BUILD_EXECUTABLE)
include $(call all-makefiles-under,$(LOCAL_PATH))
